﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterForecast.manager
{
    public class PlaceManager
    {
        public static PlaceManager Man = new PlaceManager();

        public String PlaceName { get; set; }
        public String FilePath { get; set; }
        public int PlaceColumn { get; set; }
        public DateTime PredictTime { get; set; }

        public void SetSelectedMenu(String place)
        {
            PlaceName = place;
            FilePath = XmlConfigManager.Man.GetPlaceFilePath(place);
            PlaceColumn = XmlConfigManager.Man.GetPlaceColumnNum(place) - 1;
        }
    }
}
